updated photo importer library and associated rake task.