Remove filesystem functions with native PHP equivalents