filestorage: filenames are now correctly saved.

closes #124