Move directory separator handling from PropertyMappings to storage implementations

Fixes #337