Simplify optional fs wrapping.