Allow permissions to be set on OS FileSystem

Fixes #1