add os_path and display_path to photos, fix some issues with multiple path separators after cloud/nickname in the content field of attach and photos