file mode fix
Configured for Travis/Coveralls