Fix spacing.
Use platform-independent functions for filesystem management.

Fixes #2.