IMG-520 Make dynamic_image.rb respect POET_LOCAL_STORAGE_DIR environment value