improved coverage of filesystem manipulation

Added methods for moving and creating files. Added non-throwing versions of
copy and mkdir. Added functions for creating temporary file names and files.