Fixed a bug were generate_all_aliases wasn't working if the file storage was local