Changed the chmod optional in FileSystem storeItem