Added file_exists, file_empty and file_size functions.
Fixes #1.