Make buildable on older Rust versions, check that config file is only readable
by owner